package com.lagou.edu.controller;

import com.lagou.edu.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OrderController {

    @Autowired
    private OrderService orderService;

    @RequestMapping("saveOrder")
    public String saveOrder() {
        orderService.saveOrder();
        return "SUCCESS";
    }
}
